package com.timbo.service.system;

import java.util.List;

import com.timbo.model.system.SysDepart;
import com.timbo.model.system.SysFunction;
import com.timbo.model.system.SysRole;
import com.timbo.model.system.SysUser;

public interface ISysUserSV {
	
	public List<SysUser> query(SysUser sysUser);
	
	public SysUser queryUserById(String id);
	
	public SysUser checkUserExits(String username, String password);
	
	public List<String> queryOrgIdsByUserId(String userId);
	
	public List<SysDepart> queryDepartsByUserId(String userId);
	
	public List<SysRole> queryRolesByUserId(String userId);

	public List<SysFunction> queryFunctionsByUserId(String userId);
	
	public int updateUser(SysUser sysUser);
	
	public List<SysUser> queryUsers(SysUser user);
	
}
